package cn.hl.hm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.hl.hm.dao.RouteVehiclePriceMapper;
import cn.hl.hm.entity.RouteVehiclePrice;
import cn.hl.hm.service.RouteVehiclePriceService;
@Service
public class RouteVehiclePriceServiceImpl implements RouteVehiclePriceService {

	@Autowired
	RouteVehiclePriceMapper routeVehiclePriceMapper;
	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePrice(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePrice(routeVehiclePrice);
	}
	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePriceForAddQuartz(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePriceForAddQuartz(routeVehiclePrice);
	}
	 
	@Override
	public int addRouteVehiclePrice(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.insertSelective(routeVehiclePrice);
	}

	@Override
	public int updateRouteVehiclePrice(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.updateByPrimaryKeySelective(routeVehiclePrice);
	}
	
	
	
	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePriceForDriver(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePriceForDriver(routeVehiclePrice);
	}

	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePriceByConditionForDriver(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePriceByConditionForDriver(routeVehiclePrice);
	}

	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePriceByDate(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePriceByDate(routeVehiclePrice);
	}
	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePriceByRouteId(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePriceByRouteId(routeVehiclePrice);
	}
	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePriceByDayLast(RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePriceByDayLast(routeVehiclePrice);
	}
	@Override
	public List<RouteVehiclePrice> selectRouteVehiclePriceByConditionForBackSendOrder(
			RouteVehiclePrice routeVehiclePrice) {
		// TODO Auto-generated method stub
		return routeVehiclePriceMapper.selectRouteVehiclePriceByConditionForBackSendOrder(routeVehiclePrice);
	}

}
